package net.kleinhenz.questor.model;

import net.kleinhenz.questor.model.Executable.Type;

public class ChoiceFactory {

	public static Choice createChoice(String id, int target, String statementText, Type statementType) {

		Choice choice = new Choice();

		choice.setId(id);
		choice.setTargetId(target);
		choice.setStatement(StatementFactory.createStatement(statementType, statementText));
		
		return choice;
	}

}
